home *** CD-ROM | disk | FTP | other *** search
/ Boot Disc 13 / boot-disc-1997-09.iso / HyprWire / DATA.Z / 01 Button.mdf < prev    next >
Text File  |  1997-01-21  |  5KB  |  206 lines

  1. kxKinetix
  2. kxType = kxSmalltalkJavaPlugIn
  3.  
  4. kxModuleDefinition BmpButton = 
  5.   {
  6.   kxPublicName = "Button"
  7.   kxVersion = "1.0"
  8.   kxCreationTime = "02/18/96  12:26:15 PM"
  9.   kxAuthor = "Kinetix"
  10.   kxLargeIcon = kxBmResType "ModIcons.dll" "BMPBUTN2" 0xFF00FF
  11.   kxSmallIcon = kxBmResType "ModIcons.dll" "BMPBUTN1" 0xFF00FF
  12.   kxSmalltalkLibraries = "widgets" 
  13.   kxSmalltalkProxyClass = BmpButtonBundle
  14.   kxShortDescription = "Button widget which draws and controls the behavior of a button whose various states are images."
  15. //  kxHelpDoc = "http://www.hyperwire.com/helpdocs/Widgets/BmpButton/help.html"
  16.  
  17.     // The Java class which implements the plug-in...
  18.   kxPlugInClass = BmpButtonPlugIn
  19.  
  20.     // The Smalltalk editor classes used to edit the properties of this plug-in...
  21.   kxPropertyEditors =  BmpButtonEditor OpusLabelCommentEditor ModuleStateEditor SizePositionEditor OpusColorEditor SpecialEffectsEditor PortEditor
  22.  
  23.     // The Smalltalk class which will draw the layout view representation for this plug-in...
  24.   kxLayoutViewProxyClass = AuthorRepresentation
  25.  
  26.  
  27.   kxInputPorts =
  28.     {
  29.     kxInclude "Basic.ipt"
  30.     kxInclude "VisualCommon.ipt"
  31.     kxPort Disabled =
  32.       {
  33.       kxJavaMethod = wiIsDisabled
  34.       kxJavaSignature = "()Z"
  35.       kxPublicNames = "Is Disabled?" "Is Disabled"
  36.       }
  37.  
  38.     kxPort Enabled =
  39.       {
  40.       kxJavaMethod = wiIsEnabled
  41.       kxJavaSignature = "()Z"
  42.       kxPublicNames = "Is Enabled?" "Is Enabled"
  43.       }
  44.  
  45.     kxPort Disable =
  46.       {
  47.       kxJavaMethod = wiDisable
  48.       kxJavaSignature = "()Z"
  49.       kxPublicNames = "Disable" "Was Disabled"
  50.       }
  51.  
  52.     kxPort Enable =
  53.       {
  54.       kxJavaMethod = wiEnable
  55.       kxJavaSignature = "()Z"
  56.       kxPublicNames = "Enable" "Was Enabled"
  57.       }
  58.  
  59.     kxPort SetDisabledOnOff =
  60.       {
  61.       kxJavaMethod = wiDisable
  62.       kxJavaSignature = "(Z)Z"
  63.       kxPublicNames = "Set Disabled On/Off" "Disabled on or off" "Was Disabled"
  64.       }
  65.  
  66.     kxPort OptionOn =
  67.       {
  68.       kxJavaMethod = wiIsOptionOn
  69.       kxJavaSignature = "()Z"
  70.       kxPublicNames = "Is Option On?" "Is Option On"
  71.       }
  72.  
  73.     kxPort OptionOff =
  74.       {
  75.       kxJavaMethod = wiIsOptionOff
  76.       kxJavaSignature = "()Z"
  77.       kxPublicNames = "Is Option Off?" "Is Option Off"
  78.       }
  79.  
  80.     kxPort SetOptionOn =
  81.       {
  82.       kxJavaMethod = wiSetOptionOn
  83.       kxJavaSignature = "()Z"
  84.       kxPublicNames = "Set Option On" "Was Option On"
  85.       }
  86.  
  87.     kxPort SetOptionOff =
  88.       {
  89.       kxJavaMethod = wiSetOptionOff
  90.       kxJavaSignature = "()Z"
  91.       kxPublicNames = "Set Option Off" "Was Option Off"
  92.       }
  93.  
  94.     kxPort SetOptionOnOff =
  95.       {
  96.       kxJavaMethod = wiSetOptionOn
  97.       kxJavaSignature = "(Z)Z"
  98.       kxPublicNames = "Set Option On/Off" "Option On or off" "Was Option On"
  99.       }
  100.  
  101.     kxPort SetText =
  102.       {
  103.       kxJavaMethod = wiSetText
  104.       kxJavaSignature = "(LString;)LString"
  105.       kxPublicNames = "Set Text" "text string" "Old string"
  106.       }
  107.  
  108.     kxPort GetText =
  109.       {
  110.       kxJavaMethod = wiGetText
  111.       kxJavaSignature = "()LString"
  112.       kxPublicNames = "Get Text" "String"
  113.       }
  114.  
  115.     }
  116.  
  117.  
  118.   kxInputPortsMenu =
  119.     {
  120.     Reset
  121.     On
  122.     Off
  123.     Toggle
  124.     kxSeparator
  125.     GetText
  126.     SetText
  127.     kxSeparator
  128.     kxMenu "Disable" =
  129.       {
  130.       Disabled
  131.       Enabled
  132.       Disable
  133.       Enable
  134.       SetDisabledOnOff
  135.       }
  136.     kxMenu "Option On" =
  137.       {
  138.       OptionOn
  139.       OptionOff
  140.       SetOptionOn
  141.       SetOptionOff
  142.       SetOptionOnOff
  143.       }
  144.     kxMenu "More" =
  145.       {
  146.       kxInclude "Basic.imn"
  147.       kxInclude "VisualCommon.imn"
  148.       }
  149.     }
  150.  
  151.  
  152.   kxOutputPorts =
  153.     {
  154.     kxInclude "VisualCommon.opt"
  155.     kxInclude "MouseEvt.opt"
  156.  
  157.     kxPort Disabled =
  158.       {
  159.       kxJavaSignature = "()Z"
  160.       kxPublicNames = "Disabled" "Was Not Disabled"
  161.       }
  162.  
  163.     kxPort Enabled =
  164.       {
  165.       kxJavaSignature = "()Z"
  166.       kxPublicNames = "Enabled" "Was Not Disabled"
  167.       }
  168.  
  169.     kxPort OptionOn =
  170.       {
  171.       kxJavaSignature = "()Z"
  172.       kxPublicNames = "Option On" "Was Option On"
  173.       }
  174.     
  175.     kxPort OptionOff =
  176.       {
  177.       kxJavaSignature = "()Z"
  178.       kxPublicNames = "Option Off" "Was Option On"
  179.       }
  180.  
  181.     kxPort MediaLoaded =
  182.       {
  183.       kxJavaSignature = "()V"
  184.       kxPublicNames = "Media Loaded" "Not Specified"
  185.       }
  186.     }
  187.  
  188.  
  189.   kxOutputPortsMenu =
  190.     {
  191.     ButtonUp
  192.     ButtonDown
  193.     kxSeparator
  194.     Disabled
  195.     Enabled
  196.     OptionOn
  197.     OptionOff
  198.     kxSeparator
  199.     MediaLoaded
  200.     kxSeparator
  201.     kxInclude "VisualCommon.omn"
  202.     kxSeparator
  203.     kxInclude "MouseEvt.omn"
  204.     }
  205.   }
  206.